package com.yoku.user.service;

import com.yoku.mybatis.model.PageData;
import com.yoku.mybatis.model.Result;
import com.yoku.user.model.User;

import java.util.Map;

/**
 * Desc:
 * Date: 2016/12/6
 */
public interface UserReadService {

    Result<User> login(String username, String password);

    Boolean create(User user);

    PageData<User> page(Integer pageNo, Integer pageSize, Map<String, Object> param);
}
